home *** CD-ROM | disk | FTP | other *** search
/ AMOS PD CD / amospdcd.iso / aminet / amoslist0993.lzh / AMOSLIST2 / 000016_amos-request@svcs1.digex.net_Mon Aug 30 07:43:05 1993.msg < prev    next >
Internet Message Format  |  1993-09-03  |  3KB

  1. Received: from nextsun.INS.CWRU.Edu by access.digex.net with SMTP id AA16575
  2.   (5.65c/IDA-1.4.4 for <mcox@access.digex.com>); Mon, 30 Aug 1993 07:43:04 -0400
  3. Received: from svcs1.digex.net by nextsun.INS.CWRU.Edu with SMTP (5.65b+ida+/CWRU-1.5.2-freenet-gw)
  4.     id AA00669; Mon, 30 Aug 93 07:41:37 -0400 (from amos-request@svcs1.digex.net for mcox@access.digex.com)
  5. Received: by svcs1.digex.net id AA28395
  6.   (5.65c/IDA-1.4.4 for amos-list-out); Mon, 30 Aug 1993 07:33:27 -0400
  7. Received: from access.digex.net by svcs1.digex.net with SMTP id AA28391
  8.   (5.65c/IDA-1.4.4 for <amos-list@svcs1.digex.net>); Mon, 30 Aug 1993 07:33:25 -0400
  9. Received: from ACS.BU.EDU by access.digex.net with SMTP id AA07960
  10.   (5.65c/IDA-1.4.4 for <amos-list@access.digex.net>); Mon, 30 Aug 1993 07:33:24 -0400
  11. Received: by acs.bu.edu (5.61+++/AIX-3.2)
  12.     id AA16337; Mon, 30 Aug 93 07:32:48 -0400
  13. Date: Mon, 30 Aug 93 07:32:48 -0400
  14. From: hacker@acs.bu.edu (Jose Elias)
  15. Message-Id: <9308301132.AA16337@acs.bu.edu>
  16. To: amos-list@access.digex.net
  17. Subject: Desperate help, look at short code:
  18. Status: RO
  19.  
  20.  
  21. Hi everyone!!! :)
  22.  
  23. I've been having this problem which I can't seem to solve!!!
  24.  
  25. I have this sprite bank I grabbed with my own utility, it has about 162
  26. frames of Bob animations, and I checked all of them one by one with the
  27. amos sprite utility to make sure they were fine.
  28.  
  29. Now, all I want to do is display these frames sequentially with this
  30. short piece of code, but I get NO success!!!
  31. Sometimes parts of some bobs get stamped into the background and
  32. STAY there under the new animation frames, and sometimes you only
  33. see the left 3/4 of the bobs and so everything looks like if it's
  34. flicking.
  35.  
  36. Both the background and the bobs share the same palette of 32 colors,
  37. the bobs use 16 of them and the background the remaining 16, the size
  38. of the bobs is never greater than around 64 pixels at most.
  39.  
  40. here's the 17-line complete code:
  41.  
  42. flash off : hide
  43. screen open 1,352,240,32,lowres
  44. load iff "df0:gameboard",1
  45. screen display 1,,20,,
  46. screen to front 1
  47. load "df0:infestBobs.abk"
  48. double buffer : autoback 0 : update off
  49. do
  50.    for bb=1 to 162
  51.    screen swap : wait vbl : bob clear
  52.    bob 1,100,100,bb
  53.    bob draw
  54.    wait 2
  55.    bob clear : bob draw
  56.    next bb
  57. loop
  58.  
  59. and that's it!!!
  60.  
  61. BTW, I'm using AMOS 1.35
  62.  
  63. All I'm trying to do with this piece of code is display one bob, then
  64. erase it, put the next bob, and repeat 162 times, but IT DOES NOT WORK!!!
  65.  
  66. Can someone explain to me WHY it doesn't work???
  67. WHY do the bobs look all messed up and flick (even when I know they
  68. are all-right?)
  69.  
  70. IMPORTANT!!!: I DID set the amos.configuraton file to 196 bobs already!!!
  71.  
  72. sincerely,
  73.     hacker@acs.bu.edu
  74.  
  75. p.s.: thanks in advance to anyone who tries to help.
  76.  
  77.